Added getLastKnownActivity and getLastKnownLocation to SmartLocation class