Added resetAllSelectFlag()