Which one? (I wish GitHub were clearer about what you clicked on). metadataEditor is set here and then used in the else if clause, and defaultMode is set and used too.