Add pend to state change callback
Version bump with fix for race condition