Update search field and lang selector when navigating in history