add preferenceItem working