refactored "method extraction": renderAnchorButton()