Adding auto on/off of checkboxes.