Keyboard layout/language changes in every boot

I have an idea that may appear somewhat counterintuitive...

Open the Text Entry window and add English (US) to the list of input sources, while keeping Spanish at the top of the list. That's how I have it setup myself (even if I have Swedish instead of Spanish) and it usually works fine.