added button and switch for ble data