Fix not always saving configuration changes.