removed duplicate focusInTextField from viewState