implemented quit menu item