changed method for default command by method for default button for textfields (by enter pressed)