Fixes NavBar

Fixes NavBar not showing the right buttons and not updating his title
correctly.
Merge pull request #621 from uniring/fix-navbar

refactor(navBar): fix title not updating correctly