save listeners into slaveState

If you insist on having this as enum, please explain.