added Play/Pause button functionality