Add network connection when view appear