Proceed with the steps as above and here are the changes
Set the mode to saute to fry the spices. Add the rice and saute as well.
Once this is done add water and set to pressure cook mode, 7 minutes. Let the pressure release naturally and fluff the rice.
Proceed with the rest of the steps as above.