Button declaration by data attribute or setting