Changed the geofence database table

Changed the geofence database table to get duration more easier. Now
save the enter timestamp and exit timestamp.