disable button while calling the server