Updated Navigation to nonstatic member of MainUI