In the document:
Notice that the automatic navigation will only work if the button is inside a NavigationManager
(in a view managed by it). If you just want to use the button as a visual element, you can use it
like a regular Button and handle the click events with a ClickListener.
But I found I can not add regular ClickListener to NavigationButton