play button changes to pause when pressed