Fixing preference reading

Implemented reading of specific preferences