improving the replace label function

now doesn’t hide checkboxes