Added edit and delete button for sensors