addButtonDB is improved