bug fix in Checkbox(): the checkbox must be disabled when the source is empty