The President's official visit to Uganda played a crucial ro