When deleting a view that was already saved, the save and cancel buttons have to be enabled.
Refactoring saveLayer, updateLayer and deleteLayer methods.
New build, new version number.