Bugfix in configuration saving.