Implements the flash message