add protection to showtab against missing click handler, make sure the lastRoute is updated when navigating between pages, add default to setTimeframe