modify flash notice message on the main page after submission