 		}
 	}
 	
+	func applicationDidBecomeActive(application: UIApplication) {
+		if #available(iOS 9.0, *) {
+			guard let shortcut = launchedShortcutItem else { return }
+			
+			handleShortcutItem(shortcut as! UIApplicationShortcutItem)
+			
+			launchedShortcutItem = nil
+		}
+	}
+	
 	// MARK: - Force Touch Shortcut
 	
 	@available(iOS 9.0, *)


		toggleRootVC()
		
		//declaration of tools remains active in background while app runs
		if toolsEnabled {
			tools = Tools(rootViewController: window!.rootViewController!, slackChannel: slackChannel, slackToken: slackToken, slackUsername: slackUsername)
		}
		
		return true
	}
	
	func toggleRootVC() {

	let revealVC = SWRevealViewController()
	let sidebarVC = SideBarViewController(nibName: "SideBarViewController", bundle: nil)
	let feedVC = FeedViewController()
	let searchVC = SearchViewController(nibName: "SearchViewController", bundle: nil)
	let usersVC = UsersViewController()
	let likedVC = LikedTableViewController()
	let spotifyVC = SpotifyViewController(nibName: "SpotifyViewController", bundle: nil)
