Update onOptionsItemSelected method on MyActivity