pop up alert showing average cycle length