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