Green’s Dictionary of Slang

button n.3

[they are ‘bright as a button’]

[1910s] (US) a bright, cheeky person.