Added to ability to delete pain registration from the diary tab.