Fix for subtabs not getting added to the app properly on copy.