[Bugfix] Set button type (=" unless it's been specified