Added location setting preference and updated onstart adapter