added proper synchronization of UriLoaderTask and activity lifecycle