added loading and saving of Settings. Also passing the settings instance back and forth from activities.