Fixed a crash for iOS 8
Added default Ok button. Added text entry