GPS on homescreen. WARNING: messy code