Worked on the isManagingFocus()