exmaples of how to create and use menus for settings