Added MainWindow property in ApplicationManager