Set an icon to the window