Apply upcated styles automatically after saving variables