Pull the loose pin out and check that the retaining barb/barbss is sticking out past the body. Like a fishing hook. If it is flush, it will work loose again. You can use a small flat head screwdriver to gently bend it out if you have to. See photo 1.
K I S S
photo 1.