Resets the button icons whenever the state changes.
Performance takes a hit, but things look alright again.