App gets initialized after camera closes. 40% times

Hi
Trying to make a small app using ionic. The app uses camera plugin from cordova to capture images. The problem is once the image is taken, my ionic app restarts almost 40% of times. I have 1GB of RAM on my device.