     }
 
     private func configuredArticleController(article: Article, read: Bool = true) -> ArticleViewController {
-        self.articleViewController.setArticle(article, read: read)
-        self.articleViewController.articles = self.articles
+        let articleViewController = self.articleViewController()
+        articleViewController.setArticle(article, read: read)
+        articleViewController.articles = self.articles
         if self.articles.count != 0 {
-            self.articleViewController.lastArticleIndex = self.articles.indexOf(article) ?? 0
+            articleViewController.lastArticleIndex = self.articles.indexOf(article) ?? 0
         } else {
-            self.articleViewController.lastArticleIndex = 0
-        }
-        return self.articleViewController
+            articleViewController.lastArticleIndex = 0
+        }
+        return articleViewController
     }
 
     private func showArticleController(avc: ArticleViewController, animated: Bool) {


    private let feedRepository: FeedRepository
    private let themeRepository: ThemeRepository
    private let articleViewController: ArticleViewController

    public lazy var searchBar: UISearchBar = {
        let searchBar = UISearchBar(frame: CGRect(x: 0, y: 0, width: 320, height: 32))

        self.init(
            feedRepository: injector.create(FeedRepository)!,
            themeRepository: injector.create(ThemeRepository)!,
            articleViewController: {injector.create(ArticleViewController)!}
        )
    }

