Added saving of information in cookies and app data and layout viewing