Listeners addition

It was created a inner class that contains the behavior of the
Add and Cancel buttons.  By other hand, it was implemented a method
that validate the user input and another method that clean the
text fields once their values have been added.