member state of checkbox is now called isChecked