Functioning play,pause,next and previous buttons.