Refactored selection mode keybind management.