fix Bug 2956 Access GUI in AsyncTask

fix Bug 2956 Access GUI in doInBackground in AsyncTask method. solved by
publishProgress and onProgressUpdate