Add restart fail algorithm, with linking new card
Merge branch 'develop' of github.com:bigbag/term-flask into develop