Extracted client code to a service. One should now be able to "on" or "off" the microphone.