Added cursor adapter