Firing event when user clicks in one of the routes displayed on the component