Adding generate stub and clear database on settings.

- Created four type of generate stub: location, geofence, activity
recognition and all.
- Created clear all database

Know issue:
Need feedback when the action ends after clicked on settings.