fixed layer being updated twice per wizard change CDB-1265
moved logic to the model CDB-1265
fixed table geometry types
fixed wizard tabs rendering
fixed leak in color wizard
clean previous wizard when switch
fixed wizards initialization
fixed torque layer switching