Example of how to pass state between ViewControllers