Description
Currently, if we change the gradient type in the toolbar with a gradient active (before finalizing), nothing happens and the change will only be valid for the next gradient.
Ideally, we should update the current gradient, as it is not finalized yet.