added handling of search-all-words button