Baby-bug-fix: selected wrong tab after clicking on histogram creation button