fix rapidly pop item might cause assigning wrong order to poped out todo
Merge branch 'develop'
test case fail occasionally
disable auto_flush of sqlalchemy