applying redraw styles