now layout is saved restored