Changed bluetooth checking order.