Fixed Bug with Timer and Pause