String newFlags = addFlag(inputFlag.getText().toString(), Site.FLAG_WATERFALL_AS_LIST);
inputFlag.setText(newFlags);
}
});
btnWaterfallAsGrid.setOnClickListener(v -> {
<BUG>if (checkBoxWaterfallAsGrid.isCheck()) {
</BUG>
checkBoxWaterfallAsGrid.setChecked(false);
String newFlags = removeFlag(inputFlag.getText().toString(), Site.FLAG_WATERFALL_AS_GRID);
inputFlag.setText(newFlags);

String newFlags = addFlag(inputFlag.getText().toString(), Site.FLAG_WATERFALL_AS_LIST);
inputFlag.setText(newFlags);
}
});
btnWaterfallAsGrid.setOnClickListener(v -> {
if (checkBoxWaterfallAsGrid.isChecked()) {
checkBoxWaterfallAsGrid.setChecked(false);
String newFlags = removeFlag(inputFlag.getText().toString(), Site.FLAG_WATERFALL_AS_GRID);
inputFlag.setText(newFlags);
