public void disconnectFromCore() {
   notifyManager.cancel(R.id.NOTIFICATION);
   if (coreConn != null) coreConn.disconnect();
 }