If users never enter the keyboard panel, `kbLayoutsList` is null. Please add a null check here.