React to the updated balance

It is the solution in line with the FA2 standard. Note that the answer also provides a second solution that doesn’t use callbacks, but a view. This is not included in the standard, but more efficient and fine for many use cases.