Added play, pause and stop functions to the buttons