fixing numeric cells edit on settings and cleaning up some unnecessary code.