         
         tabBarViewController.delegate = self
         tabBarViewController.moreNavigationController.delegate = self
+        
+        tabBarViewController.selectedViewController = tabBarViewController.viewControllers![selectedTab.rawValue]
         
         // Verify TabbarController Order
         let tabBarOrder = NSUserDefaults.standardUserDefaults().arrayForKey("tabBarOrder")

        application.shortcutItems = []
    }
    
    internal func login() {
        
        let storyBoard : UIStoryboard = UIStoryboard(name: "TabBar", bundle:nil)
        let tabBarViewController = storyBoard.instantiateViewControllerWithIdentifier("CustomTabBarViewController") as! UITabBarController

    
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        var tabPos = Tabs.Profile
        
        // PUSH Notification
        let settings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
        application.registerUserNotificationSettings(settings)
        application.registerForRemoteNotifications()
        
        // Firebase
        FIRApp.configure()
