changed "previous screen" management