Change way of setting icon