Adds error message in case the save failed