Created methods to add elements to an existing array in the NavigationBuilder