Refactor ConnectionReceiver to use WifiManager