fixed edit text to focus once button is pressed and added cursor manager to edit at the end of text