use sqlite instead of text file, support api > 14, disable widget at older devices (api<10)