adjust button properties