Pause/resume button now works