Modify TPDatabaseMgr和TPSearchViewController