Change tab based on active type field

HYDRASIR-297 #closes