changed example to check if stylus was connected instead of using preferrredStylus #14