Adding callback method to typeahead for adding grep result in the future