finish the listview and sqlite demo