window style is changed