// Use this to change the current page through an external script
    public void ChangePage(Page newPage)
    {
        PreviousPage = CurrentPage;
        CurrentPage  = newPage;

        // Display the correct page
        if (CurrentPage != Page.Hamburger)
        {
            foreach (KeyValuePair <string, GameObject> p in Pages)
            {
                p.Value.SetActive(false);
            }

            Pages[CurrentPage.ToString()].SetActive(true);
            Heading.text = CurrentPage.ToString();
        }

        switch (CurrentPage)
        {
        case Page.Summary:
            InterfaceColour = new Color(0.27f, 0.72f, 1.0f);
            break;

        case Page.Rooms:
        case Page.AddRoom:
            InterfaceColour = new Color(0.74f, 0.0f, 1.0f);
            Heading.text    = "Rooms";
            rc.UpdateDisplay();
            break;

        case Page.Items:
        case Page.AddItem:
            InterfaceColour = new Color(1.0f, 0.14f, 0.34f);
            Heading.text    = "Items";
            ai.UpdateRooms();
            ic.UpdateDisplay();
            break;

        case Page.Receipts:
            InterfaceColour = new Color(0.0f, 0.41f, 1.0f);
            break;

        case Page.Settings:
            InterfaceColour = new Color(1.0f, 0.59f, 0.0f);
            break;

        case Page.Hamburger:
            InterfaceColour = new Color(0.5f, 0.5f, 0.5f);
            break;
        }
    }
    public void Delete()
    {
        foreach (KeyValuePair <string, Room> r in gc.Rooms)
        {
            foreach (Item i in r.Value.Items)
            {
                if (i == Display)
                {
                    r.Value.Items.Remove(i);
                }
                break;
            }
        }

        ic.UpdateDisplay();
    }