Fixed a SQLiteException when calling setItem with a string as the key.