Fixed issue with cookie when there is no settings stored