GPS location widget, map disappeared after adding conditions