Move out wIconUpdate from set_icon_image_from_database