auto connect on toggle