Complete TODO to set network state