return to mainwindow when music stopped