Added checks to cancel AsyncTask when Activity is about to be destroyed. Testing not done