button type change