Configurare un buton inteligent