When I increment the state from Page1,it gets upadated for Page1. But when I go to Page2 the state becomes 0 again.I don\'t get the upadated state from Page1. Is there any way t