Add few drops of lemon juice into rice while cooking, you will find that the grains of rice will remain separate.
Add drops of milk into onions while frying.It will keep onions in rich colour and prevent them form burning