refactor gui-xml to display searchHistory