public void OnSellBuyButtonClic()
    {
        if (mainAction == MainAction.Sell)
        {
            inventoryUI.SellItem();
            merchantHUD.AllowSlotsUpdate(true);
        }
        else
        {
            if (!inventoryUI.BuyItem(merchantHUD.GetSelectedItem()))
            {
            }
            else
            {
                merchantHUD.RemoveSelectedItem();
            }

            SetActive(false);
            merchantHUD.AllowSlotsUpdate(true);
            inventoryUI.AllowSlotsUpdate(true);
        }
    }