Updated menubar functionality