Added chart clearing on first click