Set params only when route is set as active.