Created pause menu implementation