Added network activity listener