James Barbour, Secy of War