Update CaptureActivity.java