fixed the accesskey issue with device share

Change-Id: Iffaa8870c50a24e348357d219404e3aad2fb7146