better editor for states in the table view