add event listeners for play/pause to clear/set interval