Cleanup of flash messages