change choice calculate
commit html and dom