Add button QueryHistory View.