Added a checkActive parameter in the NavigationBuilder