Refactor digit button methods down to just one method