Coding corrected acerca de
Added clearData to clean arraylist before creating a new line