Add onCancelListener.