Refresh on tab switch in history view