</LinearLayout>\r
 \r
     <ImageView\r
-        android:id="@+id/share_indicator"\r
+        android:id="@+id/shareIcon"\r
         android:layout_width="wrap_content"\r
         android:layout_height="wrap_content"\r
         android:layout_gravity="center_vertical"\r
 
 import com.owncloud.android.datamodel.OCFile;
 import com.owncloud.android.datamodel.OCShare;
 import com.owncloud.android.oc_framework.network.webdav.WebdavClient;
+import com.owncloud.android.oc_framework.operations.OnRemoteOperationListener;
 import com.owncloud.android.oc_framework.operations.RemoteOperation;
 import com.owncloud.android.oc_framework.operations.RemoteOperationResult;
 import com.owncloud.android.oc_framework.operations.ShareRemoteFile;
         } 
     }
 
-    
 }
 
             setFile(file);
             setNavigationListWithFolder(file);
             
-            /// get the shared files
-            if (isSharedSupported()) {
-                startGetSharedFiles();
-            }
-            
             if (!stateWasRecovered) {
                 Log_OC.e(TAG, "Initializing Fragments in onAccountChanged..");
                 initFragmentsWithFile();
                     && mStorageManager != null
                     ) {  
 
+                /// get the shared files
+                if (isSharedSupported()) {
+                    startGetSharedFiles();
+                }
+                
                 String synchFolderRemotePath = intent.getStringExtra(FileSyncService.SYNC_FOLDER_REMOTE_PATH); 
 
                 OCFile currentFile = (getFile() == null) ? null : mStorageManager.getFileByPath(getFile().getRemotePath());
         // TODO
         // Refresh the filelist with the information
         refeshListOfFilesFragment();
+//        OCFileListFragment fileListFragment = getListOfFilesFragment();
+//        if (fileListFragment != null) { 
+//            fileListFragment.listDirectory(getCurrentDir());
+//        }      
         
     }
 
         String urlServer = accountMngr.getUserData(getAccount(), OwnCloudAccount.Constants.KEY_OC_BASE_URL);
         
         RemoteOperation getSharedFiles = new GetSharedFilesOperation(urlServer, mStorageManager);
-        getSharedFiles.execute(getAccount(), this, null, null, this);
+        getSharedFiles.execute(getAccount(), this, this, mHandler, this);
         
     }
     
 
                 fileSizeV.setText(DisplayUtils.bytesToHumanReadable(file.getFileLength()));\r
                 lastModV.setVisibility(View.VISIBLE);\r
                 lastModV.setText(DisplayUtils.unixTimeToHumanReadable(file.getModificationTimestamp()));\r
-               checkBoxV.setVisibility(View.GONE);\r
-               view.findViewById(R.id.imageView3).setVisibility(View.GONE);\r
+                checkBoxV.setVisibility(View.GONE);\r
+                view.findViewById(R.id.imageView3).setVisibility(View.GONE);\r
             }\r
             \r
-            ImageView shareIconV = (ImageView) view.findViewById(R.id.share_indicator);\r
+            ImageView shareIconV = (ImageView) view.findViewById(R.id.shareIcon);\r
             if (file.isShareByLink()) {\r
                 shareIconV.setVisibility(View.VISIBLE);\r
             } else {\r