Refactor button create methods.