When a tab is shown, let us update current editor id