added additional check if the passcodeTextField isfirstResponder