Smartphone app may help women reduce period pain