Added play or pause based on whether music is currently playing or not