Changed wifi receiver to be registered programatically