   }
       
        return super.onOptionsItemSelected(item);
    }</pre>

<h2>Step 11</h2>
    <p>Add a new <code>createNote()</code> method:</p>
    <p>In this first version of
    our application, <code>createNote()</code> is not going to be very useful.
We will simply
    create a new note with a title assigned to it based on a counter ("Note 1",
    "Note 2"...) and with an empty body. At present we have no way of editing
    the contents of a note, so for now we will have to be content making one
   