refactor: Check time period before saving to db
refactor: Check time period before saving to db

If time period is in past overwrite defalult month and year property which is being set in model
pe1te3son/spendings-tracker,pe1te3son/spendings-tracker