Synchronize array list to prevent concurrentmodificationexcpetions