[SAMPLE] Improve the AsyncTask implementation