fix typo
update sample to monitor changes
add support for new UpdateStylesForAllViews() method that takes over from deprecated ApplyStylesheets() method