fixed bugs with the play button and the stop button