renew ui of swap question function