Add automatic update of the current flash messages with the routeChange event