Update MainActivity.java

Added intent to call Preferences