Switch connection – set to avoid APP crashing