paused button working with timer.