Added full functionality to GUI for challenges