renamed addMovingGraph back to addMovingGraphButton due to visual studio compiler defect