How to fix sqlite3.IntegrityError: UNIQUE constraint failed in Python | DevErrors