protected function loadMainData()
 {
     // Get data for all index views.
     $this->data['twitterMonths'] = $this->model->getTwitterMonths();
     $this->data['maxTweets'] = $this->model->getMostTweetsInAMonth();
     $this->data['totalTweets'] = $this->model->getTotalTweets();
     $this->data['totalFavoriteTweets'] = $this->model->getTotalFavoriteTweets();
     $this->data['totalClients'] = $this->model->getTotalClients();
     $this->data['maxClients'] = $this->model->getMostPopularClientTotal();
     $this->data['title'] = '';
     $this->data['subTitle'] = '';
     $this->data['prevTweet'] = null;
     $this->data['nextTweet'] = null;
     // Filters.
     if (isset($_GET['f']) && is_array($_GET['f'])) {
         $filters = ['own' => false, 'replies' => false, 'retweets' => false, 'favorites' => false];
         foreach ($_GET['f'] as $key => $value) {
             $filters[$key] = (bool) $value;
         }
     } else {
         $filters = ['own' => true, 'replies' => true, 'retweets' => true, 'favorites' => true];
     }
     $this->data['filters'] = $filters;
 }