application key and context menu, widget focus problem solved