change button event to actionPerformed in ChoseCharacterPanel