Is it possible to display "Allow to use microphone" dialog only when you press "Record"? And turn off the microphone after you press "Stop"?