Update SwitchViewHelper.php