handle flavor activate/deactive