trying out to set state value from TextInput in navigationOptions, but getting error from onChangeText
onChangeText(text) is not a function