Adds functionality to highlight cookie selected for swap