And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
SpUsage