modified to renew tableViewCell from Switch.