Small bar graphs fix

Bar graphs were not updating when modifying the key select drop down
box.
Now fixed.
Merge pull request #98 from dannybutler/master

Small bar graphs fix