I am storing values of ON/OFF of switch view in the object. For the second time when we go to that view controller the switch view is always in the off state. But the value in the object is 1(ON).For the second time when we go to next controller, It should be ON state.