I did it this way so that when the activity is paused, it wouldn't keep all the data in memory (releaseCursor will cause the in memory db to be flushed). We can move this to onActivityCreated, though.