use oc_preferences instead of oc_encryption to store encyption settings