replace deprecated buttons in build-an-atom