@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    long albumId = getIntent().getLongExtra(ALBUM_ID, Album.NO_ID);

    Album.Builder albumBuilder;
    if (Album.isNew(albumId)) albumBuilder = new Album.Builder();
    else {
      Album album = getAlbumStore().get(albumId);
      albumBuilder = album.createBuilder();
    }

    CreateEditAlbumPresentationModel presentationModel =
        new CreateEditAlbumPresentationModel(this, getAlbumStore(), albumBuilder);
    initializeContentView(R.layout.activity_create_edit_album, presentationModel);
  }
 private void viewAlbum(int selectedAlbumPosition) {
   Album album = albumStore.getByIndex(selectedAlbumPosition);
   view.viewAlbum(album.getId());
 }