Your magas is not setting or is crumbly because of not adding enough ghee to the magas mix. Add some warm ghee, and warm the mix-up for 30 seconds. And try to set it. If not make besan ladoos out of them.