I\'m trying to define bind button for class objects which are created in function. Therefore, I write simple code here. When I press "Line button", it creates new