Fixed a type in function name.
Also changed the way the start and end dates are retreived from offline cache. Should be more close to reality.

Signed-off-by: Michel <info@1st-setup.nl>