set layout when set theme