allow to set pre-condition for setValue
use oc_preferences instead of oc_encryption to store encyption settings