code: public static void startActivity(@Nullable Activity activity, Class<? extends Activity> targetActivityClass) {
  		if (activity != null) {
  			if (activity.getClass() != targetActivityClass) {
  				Intent intent = new Intent(activity, targetActivityClass);
  				activity.startActivity(intent);
  			}
  		} else {
  			LOGGER.warn("Null activity. Ignoring launch of " + targetActivityClass.getSimpleName());
  		}
  	}
docs: Launches a new {@link Activity}
  
  @param targetActivityClass The target {@link Activity} class to launch