Added play/pause button functionality.