Use CONF_KEYS when setting app values.
Set prefs values after save of prefs dialog.
Add docs.