Insert the pin back inside the cap to close and push down firmly on the cap to 'snaplock' the cap in place to keep the pin secured.
eBay