Fixed timer stopping when the phone is rotated.