I'm struggling with the nav bar and it's driving me crazy for weeks....

For now, I'm stuck with the navbar on first view, I don't want it there, but if not, I'll not have the back button on the second view. And if I get this back button on the second view, I'll end with 3 nav bars ont the third view !!!! I need a recursive nav bar.

I think you should refactor your project using MVC style, breaking down everything to small components. These long config sections make it almost impossible to set up things correctly so that the framework can work as expected.