added indeterminate state to toggleSwitch