Update UploadThread.java

Using Data object as reference instead of extending the class