Vaadin Routing - reload page


at the moment I am going to route my vaadin web app. When I say “Ui.getCurrent().navigate(“XY”)” he is going to change the address in browser but the content isn´t showing. When I reload the page I see the content and it is still the same address in the browser. Does anyone has an idea why this happens?