change setCookieHidePromo method