The example shows how to use a menu button instead of the default menubar when the shell doesn't show the app menu.