How do I make the instrument I'm editing be selected when I'm editing it?

Whenever I’m editing something and I have it open in the piano roll, I want it to also select on the input/output channels thing on the left-hand side. Sometimes I’ll be working on one specific part in the piano roll but it’s not selected on the left, so when I try to mute or solo it, it mutes or solos whatever I previously had selected. Is there a way to change this?