Removed static_cast from button.cc