added MainWindow with bucket selected action event