Deactivate all buttons after redraw for apply styles