Fixed frequent GC_ALLOC freed calls
- Implemented onStop() and onResume() calls.