     
     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"]!)

        if(self.numberOfReceiptsChangedUponLastUpdate &&
                !self.currentlyFetchingReceiptsData &&
                scrollOffset + scrollViewHeight >= 0.8 * scrollViewContentSizeHeight) {
            print("Debug: scrollViewDidScroll update") // <- DEBUG
            self.fetchReceiptsFromAPI()
        }
    }

    }
    
    func pullToRefresh() {
        self.deselectAllRows()
        self.receiptsTableViewDataSource.receipts.removeAll()
        self.tableView.reloadData()
