     
     func fetchReceiptsFromAPI() {
         if(!self.currentlyFetchingReceiptsData) {
-            print("Attempting to fetch data...")
             self.currentlyFetchingReceiptsData = true
+            print("In fetchReceiptsFromAPI and was not fetching...")
             
             // Completion method run upon GET-success
             // Note that this functions as a callback after receipts have been retrieved through the API.
             func setFetchedObjects(APICallResult: Dictionary<String,AnyObject>){
+                print("Setting fetched objects")
                 let previouslySelectedIndexPaths: [NSIndexPath] = self.getIndexPathsForSelectedCells()
                 
                 let fetchedReceipts: [POSReceipt] = parseReceiptsFrom(APICallResult["receipt"]!)

    }
    
    func pullToRefresh() {
        print("Pull to refresh")
        self.deselectAllRows()
        self.receiptsTableViewDataSource.receipts.removeAll()
        self.tableView.reloadData()

            }
            func f(e: APIError){ print(e.altertMessage) }
            
            APIClient.sharedClient.updateReceiptsInMailboxWithParameters(skip: self.receiptsTableViewDataSource.receipts.count,
                                                                              digipostAddress: self.mailboxDigipostAddress, uri: self.receiptsUri,
                                                                              success: setFetchedObjects, failure: f)
        }
