added return type to setPreference
return type of preferences is Kar::PreferenceMap and not Kar::Preference
preferences don´t need to be compressed