Change button class in some cases.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>