Code example for ActionBarActivity

Methods: onOptionsItemSelected