Fix potential crash in 3G/LTE toggle when handling state changes