Set icon property properly