Save config file only when changes are done.
Merged.