Implemented a custom pause screen.