How to change button's properties?