How to switch track/instrument in Key Editor in Write mode?

Dorico will follow changes of selection in the music if you have the link button in the lower zone toolbar activated, and not if you don’t. Click the link button and Dorico will then sync the Key Editor to the current selection.