Update MainActivity.java

Added copyright.