Add DrawLine and draws a Rectangle in the GUI