fixed multiple locations for one temperature sensor and added button pressed event..