buttons to checkboxes