Improve keyboard navigation in palette