Crash fixed on exiting application in unrooted devices.