Adding text search to scan history