Added a GUI with click functionality