Refactor binding for x spinbox
convert all spinboxes to itemspinbox