Fix error if no path is found.
Get the config values when the settings are saved.