use update or insert instead of replace to avoid the discontinuous column IDs
bug fix
Use cursor adapter for displaying list instead of base adapter