Fixed form when trying to change a graph (still to fix when added a new one)