added a new label for name and some functionality to the button