Update AudioCapture.java

TO handle navigation changes