Fixing ArrayList Clear