Save button logic error.