Made graphs nicer with updated interface of buttons.