Let's use better the  .execute(WebDAVClient, OperationResultListener, Handler) method. Using it we can get rid of the AsyncTask.