Hello Gayan,
You can continue these exercises as part of your routine even after the pain goes away, but at that time keep the frequency of the exercises to one time per day as opposed to two times per day as you perform now.
I forgot to mention 1 thing about the mini-squats in my previous reply... as you squat down, please see to it that you do not have any pain whilst squatting, give it a 5-10 sec hold x 10 reps. i.e. perform the exercise in a pain free range and as days go by you should be able to squat lower than what you first began.
Regards,
Bellona