Change MainWindow.