Added functionality for editing day-plans