To get sugar crystals to stick to your cookies, sprinkle them on while the icing is still wet. Let it dry completely before moving the cookies.