Fixed toggling of checkboxes
Used prop instead of attr