Add class to manage gui buttons.