pattern matching buttons fixed

button type is custom now so that Appa will show properly