if (onUpdateCompleteListener != null) {         //if there is a listener hooked, run it
onUpdateCompleteListener.onUpdateComplete();
onUpdateCompleteListener = null;            //reset listener after update is complete
}
}
<BUG>}).fail(new FailCallback<OneReject>() {
@Override
public void onFail(OneReject result) {
LibrusUtils.logError(result.toString());
}</BUG>
});

if (onUpdateCompleteListener != null) {         //if there is a listener hooked, run it
onUpdateCompleteListener.onUpdateComplete();
onUpdateCompleteListener = null;            //reset listener after update is complete
}
}
