Check for Pebble connection before activating it.

And fix SDK method wich did not close cursor...
Merge pull request #22 from GeoffreyMetais/feature_androidWear

Check for Pebble connection before activating it.