add status check to PlayPause call