title: ActionBar Buttons : Unreachable statement
body: <p>Can you please tell me what is wrong with my code ? (I bet it's something stupid but i can't find it..)</p>
  
  <p><img src="https://i.stack.imgur.com/eCubx.png" alt="Unreachable statement"></p>
  
  <p>My code : </p>
  
  <pre><code>    public boolean onOptionsItemSelected(MenuItem item) {
      return super.onOptionsItemSelected(item);
  
      switch (item.getItemId()){
          case R.id.action_go_home:
              //go home action
              Intent i = new Intent(this, UserProfileActivity.class);
              startActivity(i);
              return true;
              break;
          case R.id.action_select_categories:
              //select categories
              return true;
          case R.id.action_refresh:
              //refresh timeline
  
              return true;
          default :
              return super.onOptionsItemSelected(item);
      }
  }
  </code></pre>