Add reset window check