Fixed bug in which state changes weren't communicated