Fixed issue with unregisterReceiver when closing app