added PreferencesRepository (and removed it from CommunityComponent)
new kind of event is used to keep the community-view up-to-date