added method applyPanelToSamples() to apply the chosen panel to the selected matching samples