Changed date and priority parsing algorithm

only the last "start", "end" and "priority" keywords will be checked