Fixed bug in spinbox during loading input

I try also add validation for user input in celss but it isn't wrok I
left it in commentd.