Check previous window