fixed bug with customer name or cookie name too big. Fixed bug when
switching from landscape/portait and back.