set selected on checkboxes