@Override
  protected void onPause() {
    super.onPause();

    measurementPresenter.unregisterListener(this);
    routeRefreshDetector.stop();
    traceOverlay.stopDrawing(mapView);
    heatMapDetector.stop();
    soundTraceDetector.stop();
  }
 @Override
 protected void onPause() {
   super.onPause();
   measurementPresenter.unregisterListener(this);
 }