Bugfix, remove segfault when null value is set for icon and _icon==null

This bug occurs when cloning buttons