void startEventTracker(){
  List<EventTrackingService> services=getEnabledServicesForType(EventTrackingService.class);
  if (services != null && !services.isEmpty()) {
    if (eventTracker == null) {
      eventTracker=new EventTracker(context,services,foamApiKeys.wifiOnly());
    }
    if (!eventTracker.isRunning()) {
      eventTracker.start();
    }
  }
}

void startEventTracker ( ) { List < EventTrackingService > services = getEnabledServicesForType ( EventTrackingService . class ) ; if ( services != null && ! services . isEmpty ( ) ) { if ( eventTracker == null ) { eventTracker = new EventTracker ( context , services , foamApiKeys . wifiOnly ( ) ) ; } if ( ! eventTracker . isRunning ( ) ) { eventTracker . start ( ) ; } } }
start foam event tracker . checks for duplicate restarts .
