Set disabled attribute to button