She didn't. The Chairman of the State Affairs Commission, the closest thing they have to a head of state in the DPRK, is elected by their elected legislature, the Supreme People's Assembly. Same with their prime minister. Party positions like General Secretary are voted on by the party. Please stop believing the corporate news media that we're all well aware lie constantly.
Next question.