To exit the AFMSystem, you should:
If the "Save on exit" option is checked, the current profile will be saved on exit.