Bug1033964-[Gallery][NFC]-Add onpeerready callback inside open activity handler