create checkboxpreference to enable/disable root