Changed type of button