added the storage of next_charges when date mode is switched