Hello.
The source files do not change in any way. The modification only works when the corresponding option is enabled. When resetting the settings, the option is disabled.
The plugin stores all its settings in the database. After deleting the plugin, the settings are not deleted from the database.