Map textfield to EditText

Fix #228