Fix broadcast receiver, exception when package removed