added demo for ToggleWidget