Added history functionality to search queries on the plugin page