code: private boolean isActivityMatching(Activity currentActivity, String name){
  		if(currentActivity != null && currentActivity.getClass().getSimpleName().equals(name)) {
  			return true;
  		}
  		return false;
  	}
docs: Compares Activity names.
  
  @param currentActivity the Activity that is currently active
  @param name the name to compare
  
  @return true if the Activity names match