limit device id to 32 chars, minor improvements to sample app and adding reminder sample