Add function:quit the app with menu option