Fixed duplicate measurement detection by adding check for duplicates in the non-persisted (currently visible) measurements (in addition to persisted VitalSign documents). Added "Resend Previous" button to device simulator to facilitate duplicate testing.