restart song when application closed, it's the easiest way to remove a bug where playback gets caught in a loop, not sure why yet.