Update AudioCapture.java

To implement page navigate and page refresh event