changed button type