make new button device work with jaxb