In MainWindow replaced Stackpanel with menu