Adding edit functionality to days