@Override
 public boolean onOptionsItemSelected(MenuItem item) {
   switch (item.getItemId()) {
     case R.id.delete_badges:
       mAdapter.removeAllViews();
       return true;
     case R.id.place_one:
       mMockLocationProvider.pushLocation(37.422, -122.084);
       return true;
     case R.id.place_no_country:
       mMockLocationProvider.pushLocation(0, 0);
       return true;
     case R.id.place_two:
       mMockLocationProvider.pushLocation(38.996667, -76.9275);
       return true;
     default:
       return super.onOptionsItemSelected(item);
   }
 }
 protected void onDestroy() {
   mock.shutdown();
   scheduleTaskExecutor.shutdown();
   super.onDestroy();
 }
 private void shutdownMockLocationManager() {
   if (mockLocationOn) {
     mMockLocationProvider.shutdown();
     mockLocationOn = false;
   }
 }