Keep the app running until exit is selected.