Autofill edit options with previous values