Changed the way the originl style is re-applied