void Close()
 {
     subControlScript.Continue();
     itemPopUpUI.SetActive(false);
     trashItemImages[displayedItemIndex].SetActive(false);
     Time.timeScale = 1f; // Unfreezes game
     isDisplayed    = false;
 }
 // Update is called once per frame
 void Update()
 {
     if (isReadyForNext)
     {
         foreach (Touch touch in Input.touches)
         {
             if (touch.phase == TouchPhase.Began)
             {
                 isReadyForNext = false;
                 if (nextDisplayedText < instructions.Length)
                 {
                     StartCoroutine(waiter());
                 }
                 else
                 {
                     instructionsPopUpUI.SetActive(false);
                     subControlScript.Continue(); // hides the pop up
                 }
             }
         }
     }
 }