added file choose button to histogram
fixed merge