Substring widget not capturing correct values from GPS location widget