Barchart.c: Change type of flag from int to bool