added setDiffListener.