placed ActionListeners into GUI class, instead of using their own inner classes