Changed icons and code
added null checking for cookie value.