Updated graphics.c

Updated the graphics file to build properly the recovery file.