Added a command queue to better handle BTLE interrupts