enable manual switch between online/offline