added checkbox to use location of the device #33