Changed Checkbox to ToggleSwitch