Update sample app to new app for SDK v1.2