Listen for audio ended event and toggle button.