@koke it does feel a bit hacky, but this protects against if we rearrange the tabs in the future. And alternative would be to #define the indices and only use those when switching to a certain index.