set checkboxes to true function