Changed return type of readActivity from List to ArrayList