Update MainActivity.java

I haven't worked on this for a while, so the descriptions of each method will seem hazy and unclear.