             } else {
                 self.configurations = ConfigurationsJSON(profile: nil)
             }
-            globalMainQueue.async { () -> Void in
-                self.mainTableView.reloadData()
-            }
             return
         }
         if let profile = self.configurations?.getProfile() {

            }
        }
        self.schedulesortedandexpanded = ScheduleSortedAndExpand()
        if let reloadDelegate = ViewControllerReference.shared.getvcref(viewcontroller: .vcloggdata) as? ViewControllerLoggData {
            reloadDelegate.reloadtabledata()
        }
    }

    func createandreloadconfigurations() {

        globalMainQueue.async { () -> Void in
            self.mainTableView.reloadData()
        }
        if let reloadDelegate = ViewControllerReference.shared.getvcref(viewcontroller: .vcallprofiles) as? ViewControllerAllProfiles {
            reloadDelegate.reloadtable()
        }
