More reusable Button's code.