Patch from 4.0/check-uncheck-all-quicksearch-prefs