saving value of first_date + last_date adjusted
textCommandHandler + textQueryHandler functions added