@Override
  public void onCreate() {
    super.onCreate();
    Log.i(TAG, "OnCreate");

    PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
    wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);

    wakeLock.acquire();

    startRecording();
  }
  @Override
  public void onCreate() {
    super.onCreate();
    Log.i(TAG, "OnCreate");
    Log.d(TAG, "RUNNING JOSHUA'S MOD!!!!!!!!!!!!!!!");

    toneGenerator = new ToneGenerator(AudioManager.STREAM_NOTIFICATION, 100);
    // Location Update PI
    Intent locationUpdateIntent = new Intent(Constant.LOCATION_UPDATE);
    locationUpdatePI =
        PendingIntent.getBroadcast(
            this, 9001, locationUpdateIntent, PendingIntent.FLAG_UPDATE_CURRENT);
    registerReceiver(locationUpdateReceiver, new IntentFilter(Constant.LOCATION_UPDATE));

    // Receivers for start/stop recording
    registerReceiver(startRecordingReceiver, new IntentFilter(Constant.START_RECORDING));
    registerReceiver(stopRecordingReceiver, new IntentFilter(Constant.STOP_RECORDING));

    startRecording();
  }