restoring application layout content