Addition of SMS feature

Why use array here? Use local variable in the loop instead, and add it directly to the arraylist.