Added missing closeSoftwareKeyboard() actions when performing typetext