replace SharedPerferences with SQLite + ContentProvider