//----------------------------------------------------------------------------------------------------------------------------------------------//

    private void GetListOfCircles()
    {
        DataRef.AllCirlces().GetValueAsync().ContinueWith(async(task) => {
            await new WaitForUpdate();
            DataSnapshot snapshot = task.Result;

            foreach (DataSnapshot child in snapshot.Children)
            {
                if (!takenCircleNames.Contains(child.Child("Name").Value.ToString()))
                {
                    takenCircleNames.Add(child.Child("Name").Value.ToString());
                }
            }
        });
    }
    //----------------------------------------------------------------------------------------------------------------------------------------------//

    public void PopulateList()
    {
        foreach (Transform child in content)
        {
            Destroy(child.gameObject);
        }

        DataRef.AllCirlces().GetValueAsync().ContinueWith(async(task) => {
            await new WaitForUpdate();
            DataSnapshot snapshot = task.Result;

            foreach (DataSnapshot circle in snapshot.Children)
            {
                InstantiateCircle(circle.Child("Name").Value.ToString(), circle.Child("PictureID").Value.ToString(), int.Parse(circle.Child("TotalMembers").Value.ToString()));
            }

            OrganiseList();
        });
    }