Fix pollKey in bbb-apps