calling unregisterReceiver() in class file is mandatory when we registered BoradcastReceiver using static registration.
When system constraints destroy the activity, preserve the user’s transient UI state using __, __ and __.
Imported from external platform