The refresh action finally works again
moved all preference related method in the GlobalHandler class + renaming of the controller and the window class