start switch control when Resonator GUI is opend