Fixed SQLite primary key issue. Also fixed nullpointer crash when recalling item