I suppose to revert you need the number below each item, although the name "revert" makes me think you lose everything to gain just one pearl... I won't try it just in case.
Yes the 0 are just because I was testing something, the button only appears if you have at least that much of each thing.
Since it’s not explained anywhere it’s not worth it at all to even try it.
If you don’t have enough, it looks like: