Well, my current suggestion is based on the fact that I've accidentally sold a perfect set item :/
I can only suggest to make another page in shops where you can sell items by drag & drop - they will disappear after the shop resets.
That will give the player the option to buy them back (for the same amount of money) before the shop resets.
thanks for reading this