[client][servers] Quick fix for issue#119 that a button doesn't become enabled.

But it's not enough yet. We should validate input values more
strictly.