Fatal error: when user register the new token, the viewDidLoad always gets called before calling the method that is for registering the token