Fixed actionListeners for JButtons.