reverting the whenToShow flag reset