Refactots _setValue in effort to get the value reverting working with double-quoted strings.