Fix your shoe.
Clean the area to be glued with alcohol. Cloth and water will do. Apply some Goop, wipe off any excess. I these long toothpicks for spreading all things glue. Use masking tape to hold it together while it cures, and take it off in the morning. Wear, and enjoy not hearing your shoe flap around.