Added support to persist flavor through resize