* Added location check
* added logic for devices without gps (my tablet..for example xD)
* minor refactoring