application: rename sendData to switchData