Why the Advance Editor does not retain values?