Add support for modifying a style.

Up to now it was only possible to modify the name, the description and
remove some iop from the style. It is now possible to add iop from
the selected image or to update it with the setting from the selected
image.
Minor code clean-up.