Return true from set/unset category preference functions
Release v1.7.2: make return codes consistent with docstrings