Modify main menu and main window created programmatically.