Completed the state Listener