end with method onActionQuit