In RunDatabaseHelper.java add class RunCursor extends CursorWrapper with method getRun(). In RunDatabaseHelper class add queryRuns() to return a RunCursor.