set window icon after flags are changed
v0.1.25