Close toast area when graph unit is changed