Confirm app closing when timer is running