public void mouseUp(Point p) {
MouseButton = "UP";
LastMousePosition = p;
drawingBoard.remove(drawingBoard.getLastInsert());
ICommand command = new PaintCommand(drawingBoard, latestItem);
StackCommands.getInstance().addCommand(command);
command.doExecute();
}