Updated for Pebble SDK2