finish topnav app and env change logic