Fix icon update in case of first save of a new file