store view state