Rewrited AsyncTask for activities