What determines who is the Commander-in-Chief of the Armed forces?