Removed unused event in MainWindow