Added Background Refresh stuff to AppDelegate and enabled background refresh by adding UIBackgroundModes = fetch in the info.plist (this is obvious when looking at the xml version of the plist file but not in the plist editor in Xcode - all the words are different!!!)

Had to add ! to targetDateString - in SettingsViewController after resetting the app in the iOS Simulator - (reread optionals in swift documentation)