Right click the pin → promote to variable to reference it:
Use the ref when you press 1 to change the brush of this widget instance.
this