Removed onStop(), onDestroy(), onPause() and replaced save with clear()