Adding fixes to the AudioRecorder