impr(history): refresh history on tab selection