Fix Device only/Off mode of location toggle

Change-Id: I1006d951c9b7bae0f75e8cf25758de49047b2823