Add flash message when creating a view