fix #1126 MultiAutoComplete: Datamodel issue when entering rangevalues twice

This pull request fixes the datamodel issue for MAC widget when freeText is true and entering rangevalues twice.
and also when the suggestion is in edit mode, valueToAdd should take previous dataModel.value when there is no change in suggestion