make time mode switch work when paused