I am having 2 screens in a react native app, both the screens are functional components. A button on screen 1 leads to screen 2, I select a few checkboxes on screen 2 and cl