Avoid duplicate flash messages