Fiddling with BroadcastReceivers to make things not crash but they still do