Fixing auto-advance: it wouldn't restart playback due to the state check