Fix graph buttons ordering