Apply changes on the layouts and classes