added the possibility to name the buttons. Thanks to Joshua for this!