     }
 
     func applicationWillEnterForeground(application: UIApplication) {
-        mainViewController.fetchRecentSamples()
+//        mainViewController.fetchRecentSamples()
     }
 
     func applicationDidBecomeActive(application: UIApplication) {

        // Set translucent. (Default value is already true, so this can be removed if desired.)
        UINavigationBar.appearance().translucent = true

//        let tabBarStoryboard = UIStoryboard(name: "TabScreens", bundle: nil)
//        let tabBarScreen = tabBarStoryboard.instantiateViewControllerWithIdentifier("TabBarController")
//        mainViewController = tabBarScreen
        
        mainViewController = IntroViewController(nibName: nil, bundle: nil)
        let navController  = UINavigationController(rootViewController: mainViewController)

        window?.rootViewController = navController

class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    var mainViewController: UIViewController!

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool
    {
