fix the bug of db & cursor ,

fix the bug in BufferQuery Toast show message  "name is exsit"