change title by using on route change event.