[closetag addon] Fix bug in code that updated the autoCloseTags option