Updated scorekeeper code.
Added button manager function