SensorFormView refactor