Refactor RecyclerView CursorAdapter