Change behavior of AsyncTask and much more other changes in MainPage.