Updated handling of playback button. Removed commented out code.