void createLocationsList()
    {
        Singleton so           = Singleton.Instance();
        string    scheduleName = so.getTourName();

        locationsTemp.Clear();
        foreach (DeptLocation s in locations)
        {
            ListItemPrefab.SetActive(true);
            GameObject newSchedule = Instantiate(ListItemPrefab);
            gameObjectsList.Add(newSchedule);
            DeptTourListitem controller = newSchedule.GetComponent <DeptTourListitem>();
            string           name1      = s.Name;
            controller.Name.text = name1;
            print("Adding location on screen" + name1);

            locationsTemp.Add(s.Name);

            newSchedule.transform.parent     = ContentPanel.transform;
            newSchedule.transform.localScale = Vector3.one;
        }
        locationsDisplayed = true;
        print("Displaying locations for: " + scheduleName);
        print("LocationsTemm count" + locationsTemp.Count);
        fillLocationsInDictionary(scheduleName, locationsTemp);
    }
    void createScheduleList()
    {
        foreach (Department s in schedules)
        {
            ListItemPrefab.SetActive(true);
            GameObject newSchedule = Instantiate(ListItemPrefab);

            DeptTourListitem controller = newSchedule.GetComponent <DeptTourListitem>();
            string           name1      = s.Name;
            controller.Name.text = name1;

            newSchedule.transform.parent     = ContentPanel.transform;
            newSchedule.transform.localScale = Vector3.one;
        }
        schedulesDisplayed = true;
        fillDictionaryWithTours();
    }
    void updateLocationsList(ArrayList updateLocations)
    {
        foreach (string s in updateLocations)
        {
            // Destroy(ListItemPrefab);
            // Destroy(ContentPanel);
            ListItemPrefab.SetActive(true);
            GameObject newToursLocation = Instantiate(ListItemPrefab);

            DeptTourListitem controller = newToursLocation.GetComponent <DeptTourListitem>();

            controller.Name.text = s;

            newToursLocation.transform.parent     = ContentPanel.transform;
            newToursLocation.transform.localScale = Vector3.one;
        }
        updateLocationsDisplayed = true;
    }