change the value you save from the popup value to the actual checkboxes value