Changed the design of the buttons.
Removed useless variables and fixed Graphics.initialize.