Changing app object name to MainApp instead of MainWindow