change maindwindow xml