Load and save settings.