if (!State.isStandardStateName(s[i])) {
// this is a non-standard state name, so look for the
// custom state associated with it
String stateName = prefix + "." + s[i];
State customState = (State) myDefaults.get(stateName);
if (customState != null) {
states.add(customState);
}
} else {