Change window selection and start numbering from 0