Finished tenderChange function