added code to select histogram on first variable selection