Fixed confusion between buttons and checkboxes