I am working on React application with web3 i have a button and on click function i am doing button disable and then after some code in same function i am enabling button back ,