Improved behaviour of envelope set

Now the envelope set data rescale the UI and start with the correct
scale.