add @private annotations to ButtonListener