Adding router change event