MainActivity.onOptionsItemSelected:
-Toast messages added
-if/else statements replaced by switch statements