Made checkboxes work nicely