                  else:
                      new_opt = self.tk_vars[config_section][item].get()
                      logger.debug("Setting option: (item: '%s', value: '%s')", item, new_opt)
                      # Set config_dicts value to new saved value
                      options.set_initial_value(new_opt)
                  helptext = self._config.format_help(options.helptext, is_section=False)
                  new_config.set(config_section, helptext)
                  new_config.set(config_section, item, str(new_opt))
          self._config.config = new_config
          self._config.save_config()
          logger.info("Saved config: '%s'", self._config.configfile)
 
</s> remove                     new_opt = options.value  # Keep saved item for other sections
 </s> add                     # retain saved values that have not been updated
                    new_opt = self._config.get(config_section, item) </s> remove                     continue
 </s> add                     continue  # helptext already written at top </s> remove         for config_section, items in self._config_dicts.items():
 </s> add         for config_section, items in self._config.defaults.items(): </s> remove         self.source = list()  # Source images, filenames + detected faces
 </s> add         self.source = []  # Source images, filenames + detected faces </s> remove         self.destination = list()  # Swapped + patched images
 </s> add         self.destination = []  # Swapped + patched images
                    self._config_dicts[config_section][item].set_initial_value(new_opt)

                helptext = self._config.format_help(options["helptext"], is_section=False)
                  else:
                      new_opt = self.tk_vars[config_section][item].get()
                      logger.debug("Setting option: (item: '%s', value: '%s')", item, new_opt)
                      # Set config_dicts value to new saved value
                    self._config_dicts[config_section][item].set_initial_value(new_opt)

                helptext = self._config.format_help(options["helptext"], is_section=False)
                    self._config_dicts[config_section][item].set_initial_value(new_opt)

                helptext = self._config.format_help(options["helptext"], is_section=False)
                  new_config.set(config_section, helptext)
                  new_config.set(config_section, item, str(new_opt))
          self._config.config = new_config
          self._config.save_config()
          logger.info("Saved config: '%s'", self._config.configfile)
keep keep keep keep replace replace keep keep keep keep keep
 bugfix: Preview Tool, ensure all config items are written 
tools/preview/preview.py