Add on/of function for location app