Fixed issue with crashing on exit.

Make sure to stop the timer when the Activity pauses.