Navbar : active tab does not appear selected

Navbar : active tab does not appear selected

When browsing each page of a navbar, the first time I choose a link, it appears as selected, as I set on it :
  1. class="ui-btn-active"
But the second time I choose a link, it does not appear selected (il looses its class).

Usages of navbar in demo do not really select a page, so its behavior is correct since it is only present on one page.
It would be usefull  to provide a multipage example of navbars in demo.