Bug corrected in checkboxSet()