Update MainActivity.java

Removed the lines which are used by BroadcastManager, since we need to use LocalBroadcastManager instead