Setting MenuBar inside MainWindow only.