change toolbar checkboxes to toggle buttons