added shouldFocusInput control