Update style of the window