Automatically set a value when creating ellement are in a group

Lets say we have a table view with items grouped-by state. (TODO, WIP, DONE)

When we create a new item when clicking on the last row of a group, the item should automatically be assigned to that group.

[EDIT] Its already the case, I can’t delete my own post…