Update MainActivity.java

More work on menu option 1, including boot img flash, toast messages, and ability to detect whether app is running as system app or not.