made three async tasks annonymous inner classes so that they acrry an explicite reference to the activity