	public boolean onContextItemSelected(final MenuItem item) {
		switch (item.getItemId()) {
		case ID_CONTEXTMENU_CHANGE_TITLE:
			final EditText inputField = new EditText(this);
			final AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
			final WhiteBoard currentWhiteBoard = existingWhiteBoards.get((int) info.id);
			inputField.setText(currentWhiteBoard.title);
			new AlertDialog.Builder(this)
				.setTitle(R.string.title_dialog_change_title)
				.setView(inputField)
				.setPositiveButton(R.string.button_ok, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						currentWhiteBoard.title = inputField.getText().toString();
						databaseHelper.addWhiteBoard(currentWhiteBoard);
						dialog.dismiss();
					}
				})
				.setNeutralButton(R.string.button_cancel, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						dialog.dismiss();
					}
				})
				.show();
			return true;
		case ID_CONTEXTMENU_DELETE_WHITEBOARD:
			new AlertDialog.Builder(this)
				.setTitle(R.string.title_dialog_delete)
				.setMessage(R.string.confirm_deleteWhiteBoard)
				.setPositiveButton(R.string.button_ok, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
						databaseHelper.deleteWhiteBoard(existingWhiteBoards.get((int) info.id - 1).id);
						dialog.dismiss();
					}
				})
				.setNeutralButton(R.string.button_cancel, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						dialog.dismiss();
					}
				})
				.show();
			return true;
		default:
			return super.onContextItemSelected(item);
		}
	}

	public boolean onContextItemSelected(final MenuItem item) {
		switch (item.getItemId()) {
		case ID_CONTEXTMENU_CHANGE_TITLE:
			final EditText inputField = new EditText(this);
			final AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
			final WhiteBoard currentWhiteBoard = existingWhiteBoards.get((int) info.id - 1);
			inputField.setText(currentWhiteBoard.title);
			new AlertDialog.Builder(this)
				.setTitle(R.string.title_dialog_change_title)
				.setView(inputField)
				.setPositiveButton(R.string.button_ok, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						currentWhiteBoard.title = inputField.getText().toString();
						databaseHelper.addWhiteBoard(currentWhiteBoard);
						dialog.dismiss();
					}
				})
				.setNeutralButton(R.string.button_cancel, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						dialog.dismiss();
					}
				})
				.show();
			return true;
		case ID_CONTEXTMENU_DELETE_WHITEBOARD:
			new AlertDialog.Builder(this)
				.setTitle(R.string.title_dialog_delete)
				.setMessage(R.string.confirm_deleteWhiteBoard)
				.setPositiveButton(R.string.button_ok, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
						databaseHelper.deleteWhiteBoard(existingWhiteBoards.get((int) info.id - 1).id);
						dialog.dismiss();
					}
				})
				.setNeutralButton(R.string.button_cancel, new DialogInterface.OnClickListener() {
					@Override
					public void onClick(DialogInterface dialog, int which) {
						dialog.dismiss();
					}
				})
				.show();
			return true;
		default:
			return super.onContextItemSelected(item);
		}
	}
