Added method to mark the selected tab on route change

Added a simple method that triggers when the route is changed. The method unmarks all active tabs and marks the current one as active.
Fixes #20.