set pullups on button inputs, add clear to flash()