             cell.pubDate?.text = pubDate.toShortFormatString()
         }
         
-        if episode.fileName != nil {
+        if (DownloadingEpisodeList.shared.downloadingEpisodes.contains(where: {$0.mediaUrl == episode.mediaUrl})) {
+            cell.button.setTitle("DLing", for: .normal)
+        } else if episode.fileName != nil {
             cell.button.setTitle("Play", for: .normal)
-        } else if (DownloadingEpisodeList.shared.downloadingEpisodes.contains(where: {$0.mediaUrl == episode.mediaUrl})) {
-            cell.button.setTitle("DLing", for: .normal)
         } else {
             cell.button.setTitle("DL", for: .normal)
         }

            })
            
            self.tableView.reloadData()

        }

    }

            if self.filterTypeSelected == .downloaded {
                episodesArray = Array(podcast.episodes.filter { $0.fileName != nil } )
                let downloadingEpisodes = DownloadingEpisodeList.shared.downloadingEpisodes.filter({$0.podcastFeedUrl == podcast.feedUrl})

                for dlEpisode in downloadingEpisodes {
                    if let mediaUrl = dlEpisode.mediaUrl, let episode = Episode.episodeForMediaUrl(mediaUrlString: mediaUrl, managedObjectContext: self.moc) {
                        episodesArray.append(episode)
                    }
                }
