Added saving every sensor read to DB