The app will now get the location of the device.
Added remembering active tab between instances.