SwitchViews updated, but not working