Option #setEnabled with 'false' only works when it is called twice. - Not work option.setEnable(false); - Work option.setEnable(false); option.setEnable(false);