It was originally a simpler implementation: the configuration file was always updated on shutdown to make sure any pending changes were preserved.
However, we've since improved this behaviour. The configuration is now saved only when actual changes are made, rather than every time the application exits.