made action to enable the textfield