Keep and plot search history