fix error when check/uncheck 'Automatically highlight words to add...' box in Preference window