Adding push notification functionality to sample, template apps