Fix issue MR-523 - Changes to external tools are not saved until exiting the program