changing save button disable state