State tax filing

Is the income i earned from Missouri when i lived in KS been regarded as KS source income as well?

 

Even though i lived in KS for few month, i don't have to indicate that i lived in another state? Would that be a problem? Baed on KS website, i can file nonresident for Kansas and resident for Missouri, right? Thank you!