added spinbox and save to xml