fix the broadcast receiver to receive while any activity is showing