Added a threestate CheckBox to the demo