Implemented pause screen.