Close application not working

One more mistake you have done in screen2 and screen 3.
Replace your screen2 and sreen3 blocks with this.

Instead of reopening screen1 just close current screen.