Two extra methods given to the ProgressListener interface to have a
separate onError and onSuccess method, therefore cleaning up the
onProgressUpdate method.