Update Activity.java

-added logging for onDestroy() and onStop()
-statusFile and OutputStream are now global and closed onDestroy()