Change button type.