Adding flow step listener