fix two bugs: 1. close DatabaseOpenHelper, intead of database 2. when lastFeedItem is null, do not check.