Take advantage of inheritance for UI classes

In pull request #616, was added the `__init__` method to base UI class. This pull request is to update other classes that inherits to the base class to no repeat code by defining the same `__init__` in every UI class.