Made the ActionListener implement serialiable