Mainwindow changed