Updated sample for SDK v1.2.7
Changes made by Vasil Dininski (dininski@gmail.com).