- Changed thread to an AsyncTask and added a progess bar for the client