function play_pause of pause and stop #18