Fixing broadcast receiver intent handling