she knows that if David is assassinated, she can jump into his place
I hope thats not it... for one thing because it doesn't work that way. In the real world, Mrs. Carnahan was *appointed* to the position her husband was elected to. This is a somewhat unique attribute relating to the US...