Implemented wifi change listener