Reordered app.addInitializer.
Simplified active class calculation for nav model.