added simple backup system for candidates in case application crashes