Changed key field to be a entry instead of storing the value in the button