Refactoring grafico, refactoring data send to bluetooth