Enabling flash messages to display