private void CreateGroupsCards()
    {
        Vector3 position = groupCard.transform.position;

        if (GroupsService.groups.Length > 0)
        {
            groupCard.SetActive(true);
        }
        else
        {
            noGroupsCard.SetActive(true);
        }

        foreach (Group group in GroupsService.groups)
        {
            position = new Vector3(position.x, position.y, position.z);
            GameObject card = (GameObject)Instantiate(groupCard, position, Quaternion.identity);
            card.transform.SetParent(GameObject.Find("List").transform, false);

            GroupCard groupCardScript = card.GetComponent <GroupCard>();
            groupCardScript.UpdateGroupCard(group);
        }

        groupCard.gameObject.SetActive(false);
        AlertsService.removeLoadingAlert();
    }