message: Fired onPress whenever selected tab changes
  Including when the changed because tab no longer available - selected tab is 2 but second tab removed so selection reset to 0
diff: #import <React/UIView+React.h>
  @implementation NVSegmentedTabView
  +{
  + BOOL _tabChanged;
  +}
  - (id)init
  {
  [self insertSegmentWithTitle:title atIndex:self.numberOfSegments animated:NO];
  }
  self.selectedSegmentIndex = selectedSegmentIndex < self.numberOfSegments ? selectedSegmentIndex : 0;
  + _tabChanged = selectedSegmentIndex != self.selectedSegmentIndex;
  }
  - (void)setBackgroundColor:(UIColor *)backgroundColor
  - (void)didSetProps:(NSArray<NSString *> *)changedProps
  {
  - [self selectTab:NO];
  + [self selectTab];
  }
  - (void)didMoveToWindow
  {
  [super didMoveToWindow];
  if (!!self.window)
  - [self selectTab:NO];
  + [self selectTab];
  }
  - (void)tabPressed
  {
  - [self selectTab:YES];
  + _tabChanged = true;
  + [self selectTab];
  }
  -- (void)selectTab:(BOOL) press
  +- (void)selectTab
  {
  NSInteger tabBarIndex = [self.superview.subviews indexOfObject:self] + (self.bottomTabs ? -1 : 1);
  UIView* tabBar = [self.superview.subviews objectAtIndex:tabBarIndex];
  for(NSInteger i = 0; i < [tabBar.reactSubviews count]; i++) {
  NVTabBarItemView *tabBarItem = (NVTabBarItemView *) [tabBar.reactSubviews objectAtIndex:i];
  tabBarItem.alpha = (i == self.selectedSegmentIndex ? 1 : 0);
  - if (press && i == self.selectedSegmentIndex && !!tabBarItem.onPress) {
  + if (_tabChanged && i == self.selectedSegmentIndex && !!tabBarItem.onPress) {
  + _tabChanged = false;
  tabBarItem.onPress(nil);
  }
  }
  