Add attr_accessible for preferences