Technology linnked to happiness, study reveals