replaced a button with a checkbox