bool variable for switching between modes CheckBox and Radio
CheckBox
if the isRadio = true, only one button can be selected if the isRadio = false, you can select several at once
final bool isRadio;