f49 icon issue

after introducing line 84 (generating the icon obj) the dialog doesn't
open anymore (Null Pointer Exception).