public void startstopSensorObservation(){
        if(startedMeasurement){
            mainViewModel.accelerationLiveData.removeObservers(acclerationInformation);
        }
        else {
            mainViewModel.accelerationLiveData.observe(getViewLifecycleOwner(), (acclerationInformation) -> {
                x_accTextView.setText(acclerationInformation.getX()+"m/s^2");
                y_accTextView.setText(acclerationInformation.getY()+"m/s^2");
                z_accTextView.setText(acclerationInformation.getZ()+"m/s^2");
            });
        }
    }