How Senegal's presidential election was postponed, reinstated and moved up