Added non-working preferences
Rebased
Validating preferences
Nearly working
Think it's finally works!