Cleaning all the success/error messages before displaying new content.