fixed phonegap key unlocking