Added part of text input handling for EditTexts