add settingsconfig and settingsactivity. persist the config.