fix Bug 2956 Access GUI in AsyncTask

fix Bug 2956 Access GUI in doInBackground in AsyncTask method. solved by
publishProgress and onProgressUpdate
Merge pull request #427 from yzn002/master

fix Bug 2956 Access GUI in AsyncTask