Fix the Start/Pause/Resume button behaviour