Fixed app going back to menu on closing screen