by Alex Stoyanov
Turns gps on when you open maps and turns it off when you close maps. Doesn't turn gps on or off if it is already on before opening maps. Make sure that you have your location services quick setting tile in your quick setting hotbar, and that the name of the tile matches (case sensitive) with the tileText variable.
If it doesn't, click no on the first question and write the correct name in the prompt. If that works, change block 13 to the correct tile name.
Uses the following flows for inspiration: