     @IBOutlet weak var day4: WeatherConditionView!
     @IBOutlet weak var day5: WeatherConditionView!
     
+    var days: [WeatherConditionView]!
+    
     @IBAction func refreshPressed(sender: UIBarButtonItem) {
         refresh()
     }
     
     override func viewDidLoad() {
+        
+        days = [day0, day1, day2, day3, day4, day5]
         
         refresh()
         

                return
            }
            
            //Reads the [WeatherCondition] in the UI
            let days = [self.day0, self.day1, self.day2, self.day3, self.day4, self.day5]
            
            for i in 0...5 {
                days[i].weatherCondition = weatherConditions[i]
            }
            
            self.view.backgroundColor = weatherConditions[0].color
            
            print("Successfully filled UI with refreshed Data!")

            
        }
        
        //Calling the API-Manager for fresh Data
        self.showWaitOverlayWithText("Refreshing...")
        apiManager.fetchForecast({ weatherConditions in refreshCallback(weatherConditions)})
    }

}

            
            print("Trying to put received data in the UI...")
            
            SwiftOverlays.removeAllBlockingOverlays()
            
            //Checks for empty array and shows error message in case someting went wrong
            if weatherConditions.isEmpty {
