Fix edit problem calendar

This fixes #13 reported by Helen Geake