use provider to keep sqlite and listview synchronized