Use AsyncTask
Add 0 to the array of magnitudes