move refresh button by save
make graph resize with window automatically
fix chart creation and refresh