corrected flaw: days before expiry

Didn't update days_before_exp so when using toggle for that feature it
didn't sort the way i wished.
Have put in code in '/' to set the right value for days_before_exp,
is_expired and is_soon_to_expire.