public void UpdateFriendsLB(string stat)
    {
        Debug.Log("Update Friend LB UI");

        UnityAction afterGetLB = () =>
        {
            if (PF_GameData.friendsLB.Count > 0)
            {
                int count = 0;
                foreach (var rank in PF_GameData.friendsLB)
                {
                    this.FriendsLB.items[count].Rank.text  = "" + (rank.Position + 1);
                    this.FriendsLB.items[count].Name.text  = string.IsNullOrEmpty(rank.DisplayName) ? rank.PlayFabId : rank.DisplayName;
                    this.FriendsLB.items[count].Value.text = "" + rank.StatValue;
                    count++;
                }

                if (count < 10)
                {
                    for (int z = count; z < 10; z++)
                    {
                        this.FriendsLB.items[z].Rank.text  = "" + (z + 1);
                        this.FriendsLB.items[z].Name.text  = string.Empty;
                        this.FriendsLB.items[z].Value.text = string.Empty;
                    }
                }
            }
        };

        //PF_GameData.GetCharacterLeaderboard(stat, afterGetLB); // not using this based on the character LB issues.
        PF_GameData.GetFriendsLeaderboard(stat, afterGetLB);
    }