UI: Refresh history on history switch