make the upload activity to work asynchronously