title: How to get an MenuItem by id
body: <p>I have my menuItem on my res/menu/student_marks.xml file:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      tools:context=".StudentMarks" &gt;
      &lt;item android:id="@+id/action_selected_year"
          android:title="@string/action_selected_year"
          android:showAsAction="withText|ifRoom"
          style="@style/AppTheme" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>Now i need for this item to set a title.in a specific part of my app.<br><br>
  I can work with a specific item in this method:<br></p>
  
  <pre><code>onOptionsItemSelected(MenuItem item)
  </code></pre>
  
  <p>the problem is that i need the item 'action_selected_year' without of this method but in another part of my program.<br> I don't have idea how to get it.</p>