+ } else {\r
+ // Start device tracking service \r
+ Intent locationServiceIntent = new Intent();\r
+ locationServiceIntent.setAction("eu.alefzero.owncloud.location.LocationLauncher");\r
+ sendBroadcast(locationServiceIntent);\r
+ }\r
+\r
+ }\r
+ \r
+ @Override\r
+ protected void onRestart() {\r
+ super.onRestart();\r
+ // Check, if there are ownCloud accounts\r
+ if(!accountsAreSetup()){\r
+ showDialog(DIALOG_SETUP_ACCOUNT);\r