Fixed a bug with stop listening action.