react on menu item 'Exit'