NPE fix in TextHttpResponseHandler for onSuccess and onFailure methods