Bug Fix. orientation change causing crash when editing text field