add togglePlay to microphone plugin