public void OnChangeProfile(UIProfileSelectionButton button)
    {
        currentButton = button;

        if (UsersController.Instance.CurrentProfileId.Equals(button.ProfileId) || skipConfirmationPopup)
        {
            ChangeProfile();
        }
        else
        {
            showConfirmaction();
        }
        skipConfirmationPopup = false;
    }
    public void OnChangeProfile(UIProfileSelectionButton button)
    {
        currentButton = button;

        if (UsersController.Instance.CurrentProfileId.Equals(button.ProfileId) || skipConfirmationPopup)
        {
            ChangeProfile();
        }
        else
        {
            UIController.Instance.ConfirmationPopup.onConfirm = ChangeProfile;
            UIController.Instance.ShowPopup(UIController.Instance.ConfirmationPopup.gameObject);
        }
        skipConfirmationPopup = false;
    }