After app activity resumed the app is going back to screen1 automatically

Not like that.

Step One :point_right: Launch the app then click the button to open the screen2

Step Two :point_right: Minimize the app and Resume the app again.

*** Expected result : The screen2 should be there after u resume the app.

**** Issue : The app is reopening the screen1 automatically