add min/max/avg value on graph, fix crash on press alarm button while sensor value was not loaded