Handle Active Switch On/Off