Moved custom slot click code from container to gui class