Add menu bar in MainWindow class.