Make the pause button work