Error in my Navigation Drawer : <p>I'm new to android, I have designed a navigation drawer and I want to show a message (as Toast) as every item is clicked, It runs but the message is not shown, can anyone help me please? </p>

<p>this is my code for showing the message:</p>

<pre><code>    @Override
    public boolean onOptionsItemSelected(MenuItem item){

    if (mToggle.onOptionsItemSelected(item)){
        return true;
    }
    //return super.onOptionsItemSelected(item);
    //}


    int MyID = item.getItemId();
    if (MyID == R.id.nav_account){
        Toast.makeText(this, "Account", Toast.LENGTH_SHORT).show();
        return true;
    }
    else if (MyID == R.id.nav_settings){
        Toast.makeText(this, "Settings", Toast.LENGTH_SHORT).show();
        return true;
    }
    else if (MyID == R.id.nav_logout){
        Toast.makeText(this, "Log Out", Toast.LENGTH_SHORT).show();
        return true;
    }

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