Implementing menu and pause screens