You've got to aline the pin on the black cap so it's ontop of the bolt and sliding towards the small rectangular piece that is on the firing pin.
Push it against the spring then twist it in the direction of the bolt handle so the pin on the black cap locks in the small slot.
Hope this makes sense to you, it took me a while to figure out the first time I had it apart.