graphViewButton switch fix