Disable command buttons for invalid user specified commands.