Setting active on route change.