In RunMapFragment use LoaderManager to load locations in background. Implement LoaderManager.LoaderCallbacks<Cursor>