added playpause, nextTrack and previousTrack functionality