refine the wifi switcher