use localbroadcastmanager to receive the broadcast