Added play button logic