new selector generation. Correct implementation of resetPanels method