The explosives were most likely detonated by remote control by their disgusting 9th century Islamist handlers.
Thank you. My first thought also. If it was a self-controlled device, you would agree that girls in the area of Boko Haram would probably take themselves out before leaving the prison compound.