The listen callback is now called on any state