Removed unneeded case
Reorder values
Do not hardcode identifier when disconnecting
Removed another unneeded case in the state machine
Set pin even if it should not pair to a device

Needed by some Bluetooth mice that always want authentication
Fixed flag macros

Needed if you want to clear multiple flags at once