Update GraphicalInterface

Separate the ActionListener in a different class.
Delete useless attributes.