resetting arrays and clearing HTML elements after tap_Download function