Change from arrays (chat, smiles) to ArrayList and LinkedList