Add ConnectivityListener.