Working on tagging list elements with "selected" class