Fixed crash when exiting Timer activity with paused timer