tried to fix actionlistener
new copy with a different way of doing buttons, will fix later