add clear table button and resolve ConcurrentModificationException bug on SortedArrayList