small fix in sensor edit save