Creating state
Keeping state when navigating back and forth through the survey almost working