Added the functionality to notify user to type in the correct window.