Study suggests app could help men struggling in bed