Made the button a parameter. Default: x