The bomb went off just after Mr. Gedi had told the crowd that the interim government now based in Nairobi , Kenya , would be willing to drop plans to relocate Somali 's capital to the towns of Baidoa or Jowhar if security in Mogadishu were enhanced , witnesses said .