disable the SegmentedControl button if the day is unavilabe, add colon process data to decide if the process is changed, if changed show  Save button, otherwise hide the button, imporve code