Currently, you always have to select the required layer for a plug-in for data acquisition in advance. If plugins could work on any layers in the project using the layer ID or layer name, you could start data collection directly on layer A with button A or layer B with button B.