Removed deprecated showDialog call in AddTerm, fixed
a small bug where changes to the start day of month are not saved
due to a small typo