Changing flash messages after editing a project to alerts