if(!selectedShapeName.endsWith("RectangleShape0")){
if(selectedShapeID == 1 && getTopShapeID() == 1){
xNextSelectedShape = getControlShape();
removeArrowShape();
}
selectedItem.removeItem();
decreaseItemsIDs(selectedShapeID);
}
if(xNextSelectedShape != null)
getController().setSelectedShape(xNextSelectedShape);
if(isBaseColorsMode() || isBaseColorsWithGradientMode())