Add queryActivityStartingFromDate function;