Added auto change to parent tab after add to male/female parents on inventory view     Ticket: GCP-9363    Reviewer: To be reviewed by Jai