Made the timer stop when the game was over