Issue #148: added method in EdObjectFactory to define icon for ButtonWidget