Change splitString() function to take delimiter
Remove unused variables in HomeActivity