Made fix for Firefox so that Pause button would switch