specifying button type

Fixes #481