This is probably due to using the new listView instead of the legacy List View. There are a bunch of threads on this, many connecting back to here: ListView / Modify Values and save - #6 by whynot.
Depending on what you want to accomplish / how much time you want to spend on this, I might suggest you switch to the legacy List View which is a bit simpler for the use case that I see you building out.