Added simple functionality to the menubar